home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / perl5 / ExtUtils::Command.z / ExtUtils::Command
Text File  |  1998-10-30  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4. EEEExxxxttttUUUUttttiiiillllssss::::::::CCCCoooommmmmmmmaaaannnndddd((((3333))))                                      EEEExxxxttttUUUUttttiiiillllssss::::::::CCCCoooommmmmmmmaaaannnndddd((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ExtUtils::Command - utilities to replace common UNIX commands in
  10.      Makefiles etc.
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.        perl -MExtUtils::Command -e cat files... > destination
  14.        perl -MExtUtils::Command -e mv source... destination
  15.        perl -MExtUtils::Command -e cp source... destination
  16.        perl -MExtUtils::Command -e touch files...
  17.        perl -MExtUtils::Command -e rm_f file...
  18.        perl -MExtUtils::Command -e rm_rf directories...
  19.        perl -MExtUtils::Command -e mkpath directories...
  20.        perl -MExtUtils::Command -e eqtime source destination
  21.        perl -MExtUtils::Command -e chmod mode files...
  22.        perl -MExtUtils::Command -e test_f file
  23.  
  24.  
  25. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.      The module is used in Win32 port to replace common UNIX commands.  Most
  27.      commands are wrapers on generic modules File::Path and File::Basename.
  28.  
  29.      cat Concatenates all files mentioned on command line to STDOUT.
  30.  
  31.      eqtime src dst
  32.          Sets modified time of dst to that of src
  33.  
  34.      rm_f files....
  35.          Removes directories - recursively (even if readonly)
  36.  
  37.      rm_f files....
  38.          Removes files (even if readonly)
  39.  
  40.      touch files ...
  41.          Makes files exist, with current timestamp
  42.  
  43.      mv source... destination
  44.          Moves source to destination.  Multiple sources are allowed if
  45.          destination is an existing directory.
  46.  
  47.      cp source... destination
  48.          Copies source to destination.  Multiple sources are allowed if
  49.          destination is an existing directory.
  50.  
  51.      chmod mode files...
  52.          Sets UNIX like permissions 'mode' on all the files.
  53.  
  54.      mkpath directory...
  55.          Creates directory, including any parent directories.
  56.  
  57.      test_f file
  58.          Tests if a file exists
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. EEEExxxxttttUUUUttttiiiillllssss::::::::CCCCoooommmmmmmmaaaannnndddd((((3333))))                                      EEEExxxxttttUUUUttttiiiillllssss::::::::CCCCoooommmmmmmmaaaannnndddd((((3333))))
  71.  
  72.  
  73.  
  74. BBBBUUUUGGGGSSSS
  75.      Should probably be Auto/Self loaded.
  76.  
  77. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  78.      ExtUtils::MakeMaker, ExtUtils::MM_Unix, ExtUtils::MM_Win32
  79.  
  80. AAAAUUUUTTTTHHHHOOOORRRR
  81.      Nick Ing-Simmons <_n_i_c_k@_n_i-_s._u-_n_e_t._c_o_m>.
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.